class UserManager
{
    private _uid: number;
    private _roomId: number;
    private _userName: string;

    public get uid() : number
    {
        return this._uid;
    }

    public set uid(value: number)
    {
        this._uid = value;
    }

    public get roomId() : number
    {
        return this._roomId;
    }

    public set roomId(value: number)
    {
        this._roomId = value;
    }

    public get userName() : string
    {
        return this._userName;
    }

    public set userName(value: string)
    {
        this._userName = this.userName;
    }
}

export let userManager: UserManager = new UserManager();